Saves the image into a Stream in WEBP format.
シンタックス
'宣言
Public Overloads Sub SaveAsWebp( _
ByVal As System.IO.Stream, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void SaveAsWebp(
System.IO.Stream ,
System.Nullable<Rectangle> ,
System.bool ,
System.int ,
System.int
)
パラメータ
- stream
- The output stream.
- clipRect
- Clipping rectangle of the image to be saved.
- lossless
- Either lossless (true) or lossy (false) webp format.
- quality
- The compression quality. Between 0 and 100.
- method
- The encoding method to use. Its a quality/speed trade-off (0=fast, 6=slower-better).
参照